package com.xaicode.template.sqlite3.serviceimpl;

import com.xaicode.template.sqlite3.entity.AirportPlane;
import com.xaicode.template.sqlite3.mapper.AirportPlaneMapper;
import com.xaicode.template.sqlite3.service.IAirportPlaneService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author xiachangjian <xiachangjian@sataero.cn>
 * @date 2023/2/15
 * @since v2.0.1
 */
@Service
public class AirportPlaneServiceImpl implements IAirportPlaneService {

    @Resource
    private AirportPlaneMapper airportPlaneMapper;

    @Override
    public List<AirportPlane> findAllByAirportId(String s) {
        List<AirportPlane> all = airportPlaneMapper.findAllByAirportId(s);
        return all;
    }
}
